PaymentPlugins\WooCommerce\PPCP\Payments\PaymentGateways S

Total Complexity 35
Dependencies 13
Dependents 6
Total lines 181
Lines of code 117
Logical lines of code 62
Comment lines 26
Methods 19
Properties 5

Methods 19

Method Rating Maintainability Complexity Lines of code
add_minicart_scripts()
S
59 8 14
load_scripts()
S
59 5 14
add_scripts()
S
59 3 13
get_available_payment_gateways()
S
71 3 6
initialize_gateways()
S
71 2 6
__construct()
S
58 1 14
get_cart_payment_gateways()
S
81 1 3
get_product_payment_gateways()
S
77 1 4
get_express_payment_gateways()
S
81 1 3
set_page_context()
S
81 1 3
filter_by_available()
S
70 1 6
add_admin_script_dependencies()
S
79 1 3
get_gateway()
S
80 1 3
add_product_scripts()
S
77 1 4
has_gateway()
S
80 1 3
get_general_asset_data()
S
67 1 8
get_payment_method_registry()
S
82 1 3
register_payment_methods()
S
80 1 3
get_minicart_payment_gateways()
S
77 1 4